package com.zking.service.impl.lsc;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zking.dao.domain.CollectionPosition;
import com.zking.dao.domain.Information;
import com.zking.dao.domain.Post;
import com.zking.dao.mapper.lsc.UserDao;
import com.zking.service.lsc.SXservice;
@Service
public class CxServiceimpl implements SXservice {
	@Autowired
	UserDao u1;
	@Override
	public List<Post> sj() {
		List<Post> lc =  u1.sj();
		return lc;
	}
	@Override
	public Post idxs(Post a ) {
		Post lc =  u1.idxs(a);
		return lc;
}
	@Override
	public int zj(CollectionPosition collectionPosition) {
		
		int i = u1.zj(collectionPosition);
		return i;
	}
		@Override
		public List<CollectionPosition> zp() {
			List<CollectionPosition> l2 = u1.zp();
			return l2;
	}
		@Override
		public CollectionPosition gf(int userid) {
			CollectionPosition gf = u1.gf(userid);
			return gf;
		}
		@Override
		public int gl(int userid) {
			int gl = u1.gl(userid);
			return gl;
		}
		@Override
		public List<CollectionPosition> zp1(int userid) {
			List<CollectionPosition> li = u1.zp1(userid);
			return li;
		}
		@Override
		public int nl(int id) {
			int nl = u1.nl(id);
			return nl;
		}
		public Post getpostone(Integer id) {
			Post post = u1.getpostone(id);
			return post;
		}
		@Override
		public Information getInformationone(Integer id) {
			Information information = u1.getInformationone(id);
			return information;
		}
		@Override
		public CollectionPosition getCollectionPosition(Integer userid, Integer postid) {
			CollectionPosition collectionPosition = u1.getCollectionPosition( userid ,postid);
			return collectionPosition;
		}
		@Override
		public int deletecp(Integer id) {
			int i = u1.deletecp(id);
			return i;
		}
	

}